import 'package:flutter/material.dart';
import 'package:flutter_changdian_football/widget/screenutil/custom_screenutil.dart';

/// 加载页面
class CustomLoading extends StatelessWidget {
  const CustomLoading({super.key, this.text});
  final String? text;

  @override
  Widget build(BuildContext context) {
    return SizedBox(
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.center,
        mainAxisAlignment: MainAxisAlignment.center,
        children: [
          Center(
            child: CircularProgressIndicator(
              color: const Color(0xff499360),
              strokeWidth: 4.w,
            )
          )
        ],
      ),
    );
  }
}